package net.yunzhanyi.client.utils;

import com.github.pagehelper.PageInfo;
import net.yunzhanyi.client.domain.vo.PageVo;

/**
 * @author bestct
 * @date 2022/9/30
 * @type 类
 */
public class PageUtils {
    public static void copyPageInfo(PageInfo pageInfo, PageVo pageVo){
        pageVo.setPageNum(pageInfo.getPageNum());
        pageVo.setPages(pageInfo.getPages());
        pageVo.setNavigatepageNums(pageInfo.getNavigatepageNums());
        pageVo.setPageSize(pageInfo.getPageSize());
    }
}
